package com.example.demo.repository;


import com.example.demo.entity.SysRole;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.Repository;

import java.util.List;
import java.util.Optional;

/**
 * Copyright(C), 2020-2021, AmbroseCdMeng
 * FileName:    SysRoleRepository
 * Author:      AmbroseCdMeng
 * Date:        2021/3/5 10:37
 * Description:
 * History:
 * <author>     <time>      <version>       <desc>
 * 作者姓名     修改时间        版本号           描述
 */
public interface SysRoleRepository extends CrudRepository<SysRole, Long> {

    SysRole findByRole(String role);
}
